<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>疫情人员管控平台</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="shortcut icon" type="image/x-icon" href="../../favicon.ico"/>
    <link rel="stylesheet" href="../../layui-admin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../layui-admin/style/admin.css" media="all">
    <link rel="stylesheet" href="../../city-picker/css/city-picker.css" media="all">
    <style>
        .layadmin-side-shrink .layui-layout-admin .layui-logo {
            width: 60px;
            background-image: url(img/logo_32x32.png); /*background-size: 20px;)*/
        }
    </style>
</head>
<body class="layui-layout-body">
<div id="LAY_app">
    <div class="layui-layout layui-layout-admin">
        <!-- 头部区域 -->
        <div class="layui-header">
            <ul class="layui-nav layui-layout-left">
                <li class="layui-nav-item layadmin-flexible" lay-unselect>
                    <a href="javascript:;" layadmin-event="flexible" title="侧边伸缩">
                        <i class="layui-icon layui-icon-shrink-right" id="LAY_app_flexible"></i>
                    </a>
                </li>
                <li class="layui-nav-item" lay-unselect>
                    <a href="javascript:;" layadmin-event="refresh" title="刷新">
                        <i class="layui-icon layui-icon-refresh-3"></i>
                    </a>
                </li>
            </ul>
            <ul class="layui-nav layui-layout-right">
                <li class="layui-nav-item layui-hide-xs" lay-unselect>
                    <a href="javascript:;">
                        <i class="layui-icon layui-icon-search"></i>
                        检索
                    </a>
                </li>
                <li class="layui-nav-item layui-hide-xs" lay-unselect>
                    <a href="javascript:;">
                        <i class="layui-icon layui-icon-upload-drag"></i>
                        数据
                    </a>
                </li>
                <li class="layui-nav-item layui-hide-xs" lay-unselect>
                    <a href="javascript:;">
                        <i class="layui-icon layui-icon-set"></i>
                        设置
                    </a>
                </li>
                <li class="layui-nav-item" lay-unselect>
                    <a href="javascript:;"><img src="img/logo.png" class="layui-nav-img">管理员</a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;">修改密码</a></dd>
                        <dd><a href="javascript:;">锁屏</a></dd>
                        <dd><a href="javascript:;">退出</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item layui-hide-xs" lay-unselect>
                    <a href="javascript:;"><i class="layui-icon layui-icon-more-vertical"></i></a>
                </li>
                <li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm" lay-unselect>
                    <a href="javascript:;"><i class="layui-icon layui-icon-more-vertical"></i></a>
                </li>
            </ul>
        </div>
        <!-- 侧边菜单 -->
        <div id="side-menu-search" class="layui-side layui-side-menu">
            <div class="layui-side-scroll">
                <div class="layui-logo"><img src="img/logo_32x32.png">
                    <span>疫情人员管控平台</span>
                </div>
                <ul class="layui-nav layui-nav-tree"></ul>
                <div class="layui-tab layui-tab-brief">
                    <ul class="layui-tab-title">
                        <li class="layui-this">基础搜索</li>
                        <li>高级搜索</li>
                    </ul>
                    <div id="side-tab-search" class="layui-tab-content">
                        <div class="layui-tab-item layui-show">
                            <div class="layui-form-item">
                                姓名
                            </div>
                            <div class="layui-form-item">
                                <input class="layui-input" placeholder="请输入完整的姓名"/>
                            </div>
                            <div class="layui-form-item">
                                身份证号码
                            </div>
                            <div class="layui-form-item">
                                <input class="layui-input" placeholder="请输入完整的身份证号码"/>
                            </div>
                            <div class="layui-form-item">
                                户籍所在地
                            </div>
                            <div class="layui-form-item">
                                <div style="position: relative;z-index: 9999;">
                                    <input class="layui-input" data-toggle="city-picker" data-level="district" placeholder="请选择省/市/区"/>
                                </div>
                            </div>
                            <div class="layui-form-item">
                                登记时间
                            </div>
                            <div class="layui-form-item">
                                <input type="text" class="layui-input" id="date-time" readonly placeholder="请选择登记时间范围">
                            </div>
                            <div class="layui-form-item">
                                <div class="layui-row layui-col-space5">
                                    <div class="layui-col-xs6">
                                        <button class="layui-btn layui-btn-primary layui-btn-fluid">重置</button>
                                    </div>
                                    <div class="layui-col-xs6">
                                        <button class="layui-btn layui-btn-fluid">搜索</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="layui-tab-item"></div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 页面标签 -->
        <div class="layadmin-pagetabs" id="LAY_app_tabs">
            <div class="layui-icon layadmin-tabs-control layui-icon-prev" layadmin-event="leftPage"></div>
            <div class="layui-icon layadmin-tabs-control layui-icon-next" layadmin-event="rightPage"></div>
            <div class="layui-icon layadmin-tabs-control layui-icon-down">
                <ul class="layui-nav layadmin-tabs-select" lay-filter="layadmin-pagetabs-nav">
                    <li class="layui-nav-item" lay-unselect>
                        <a href="javascript:;"></a>
                        <dl class="layui-nav-child layui-anim-fadein">
                            <dd layadmin-event="closeThisTabs">
                                <a href="javascript:;">
                                    <cite>关闭当前标签页</cite>
                                </a>
                            </dd>
                            <dd layadmin-event="closeOtherTabs">
                                <a href="javascript:;">
                                    <cite>关闭其它标签页</cite>
                                </a>
                            </dd>
                            <dd layadmin-event="closeAllTabs">
                                <a href="javascript:;">
                                    <cite>关闭全部标签页</cite>
                                </a>
                            </dd>
                        </dl>
                    </li>
                </ul>
            </div>
            <div class="layui-tab" lay-unauto lay-allowClose="true" lay-filter="layadmin-layout-tabs">
                <ul class="layui-tab-title" id="LAY_app_tabsheader">
                    <li lay-id="list.html" lay-attr="list.html" class="layui-this"><i class="layui-icon layui-icon-search"></i>检索结果</li>
                </ul>
            </div>
        </div>
        <!-- 主体内容 -->
        <div class="layui-body" id="LAY_app_body">
            <div class="layadmin-tabsbody-item layui-show">
                <iframe src="list.html" frameborder="0" class="layadmin-iframe"></iframe>
            </div>
        </div>
        <!-- 辅助元素，一般用于移动设备下遮罩 -->
        <div class="layadmin-body-shade" layadmin-event="shade"></div>
    </div>
</div>
<script src="../../layui-admin/layui/layui.js"></script>
<script src="../../city-picker/js/city-picker.data.js"></script>
<script src="../../city-picker/js/city-picker.js"></script>
<script>
    layui.config({
        base: '../../layui-admin/'
    }).extend({
        index: 'lib/index'
    }).use(['index'], function () {
        const $ = layui.$;
        const admin = layui.admin;
        const laydate = layui.laydate;
        laydate.render({
            elem: '#date-time'
            , range: '~'
            , format: 'yyyy-MM-dd'
            , btns: ['confirm']
        });
        $('#side-tab-search').css({'position': 'fixed', 'width': '200px'});
        admin.on('side(side-menu-search)', function (obj) {
            if (obj.status === 'spread') {
                $('#side-tab-search').css({'position': 'fixed'});
            } else {
                $('#side-tab-search').css({'position': ''});
            }
        });
    });
</script>
</body>
</html>
